import Vue from "vue";
import {
  Button,
  Message,
  MessageBox,
  Loading,
  Row,
  Col,
  Table,
  TableColumn,
  Divider,
  Form,
  FormItem,
  Input,
  InputNumber,
  Pagination,
  Dialog,
  TimeSelect,
  TimePicker,
  Select,
  Option,
  DatePicker
} from "element-ui";

Vue.use(Button);
Vue.use(Row);
Vue.use(Col);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Divider);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Input);
Vue.use(InputNumber);
Vue.use(Pagination);
Vue.use(Dialog);
Vue.use(DatePicker);
Vue.use(TimeSelect);
Vue.use(TimePicker);
Vue.use(Select);
Vue.use(Option);

Vue.use(Loading.directive);

Vue.prototype.$loading = Loading.service;
Vue.prototype.$message = Message;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
